package com.situ.firmadmin.service.impl;



import com.situ.firmadmin.mapper.AdminMapper;
import com.situ.firmadmin.pojo.Admin;
import com.situ.firmadmin.pojo.User;
import com.situ.firmadmin.service.IAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdminServiceImpl implements IAdminService {
    @Autowired
    private AdminMapper adminMapper;

    @Override
    public List<Admin> selectAll(Integer dId) {
        return adminMapper.selectAll(dId);
    }
    
    @Override
    public List<Admin> selectSuperAdmin() {
        return adminMapper.selectSuperAdmin();
    }
    
    @Override
    public List<Admin> selectAllAdmin() {
        return adminMapper.selectAllAdmin();
    }
}
